package com.fschina.devtools.enums;

import java.util.HashMap;
import java.util.Map;

public enum ResponseCodeEnum {
    SUCCESS(0,"success"),//0 表示成功
    FAILED(1,"failed"),//1 失败
    SYSTEMFAILED(-1,"system failed");//-1 系统错误

    private int code;
    private String value;

    private ResponseCodeEnum(int code,String value){
        this.code = code;
        this.value = value ;
    }

    public int getCode() {
        return code;
    }


    public String getValue() {
        return value;
    }

}
